package com.ikangtai.shecare.common.baseView.articleList;

public class ArticleBean {
    private int articleId;
    private String collectedId;
    private String imageUrl;
    private String title;
    private String date;
    private boolean isCollected;

    private int respCode;
    private String authToken;
    private int isDelete;
    private int read;

    private String position;

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public ArticleBean(int collectionNok) {

    }

    public ArticleBean() {

    }

    public void setArticleId(int articleId) {
        this.articleId = articleId;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public void setIsCollected(boolean isCollected) {
        this.isCollected = isCollected;
    }

    public int getArticleId() {
        return articleId;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public String getTitle() {
        return title;
    }

    public String getDate() {
        return date.split(" ")[0];
    }

    public int getRead() {
        return read;
    }

    public void setRead(int read) {
        this.read = read;
    }

    public boolean isCollected() {
        return isCollected;
    }

    public int getRespCode() {
        return respCode;
    }

    public void setRespCode(int respCode) {
        this.respCode = respCode;
    }

    public String getAuthToken() {
        return authToken;
    }

    public void setAuthToken(String authToken) {
        this.authToken = authToken;
    }

    public String getCollectedId() {
        return collectedId;
    }

    public void setCollectedId(String collectedId) {
        this.collectedId = collectedId;
    }

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }
}
